package com.lntea.xml;

import java.util.HashMap;
import java.util.Map;

import com.lntea.beans.BeanDefinition;
import com.lntea.io.ResourceLoader;

public abstract class AbstractBeanDefinitionReader implements BeanDefinitionReader{
	Map<String, BeanDefinition> registry;
	
	ResourceLoader resourceLoader;
	
	public AbstractBeanDefinitionReader() {
	}
	
	public AbstractBeanDefinitionReader(ResourceLoader resourceLoader) {
		this.registry = new HashMap<String,BeanDefinition>();
		this.resourceLoader = resourceLoader;
	}
	
	public Map<String, BeanDefinition> getRegistry(){
		return registry;
	}
	
	public ResourceLoader getResourceLoader(){
		return resourceLoader;
	}
}
